import axios from "../../../../utils/axios";
//请求轮播图数据
export const bannerList = (params: any) => {
    return axios({
        method: 'get',
        url: "/prod-api/api/rotation/list",
        params
    })
}

//请求服务列表

export const serviceList = () => {
    return axios({
        method: 'get',
        url: '/prod-api/api/service/list'
    })
}


//请求新闻列表
export const newsClass = () => {
    return axios({
        method: 'get',
        url: '/prod-api/press/category/list'
    })
}